package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学校对象 school_table
 * 
 * @author ruoyi
 * @date 2024-10-09
 */
public class SchoolTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long schoolId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 学校代码 */
    @Excel(name = "学校代码")
    private String schoolDaima;

    /** 学校类型 */
    @Excel(name = "学校类型" ,readConverterExp = "0=小学,1=中学,2=大学")
    private String schoolType;

    /** 建校日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建校日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date schoolRiqi;

    /** 电话 */
    @Excel(name = "电话")
    private String schoolIphooe;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String schoolYouxiang;

    /** 所在地区 */
    @Excel(name = "所在地区")
    private String schoolDiqu;

    /** 地址 */
    @Excel(name = "地址")
    private String schoolDizhi;

    /** 学校简介 */
    @Excel(name = "学校简介")
    private String schoolJianjian;

    /** 备注 */
    @Excel(name = "备注")
    private String schoolRemark;

    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setSchoolDaima(String schoolDaima) 
    {
        this.schoolDaima = schoolDaima;
    }

    public String getSchoolDaima() 
    {
        return schoolDaima;
    }
    public void setSchoolType(String schoolType) 
    {
        this.schoolType = schoolType;
    }

    public String getSchoolType() 
    {
        return schoolType;
    }
    public void setSchoolRiqi(Date schoolRiqi) 
    {
        this.schoolRiqi = schoolRiqi;
    }

    public Date getSchoolRiqi() 
    {
        return schoolRiqi;
    }
    public void setSchoolIphooe(String schoolIphooe) 
    {
        this.schoolIphooe = schoolIphooe;
    }

    public String getSchoolIphooe() 
    {
        return schoolIphooe;
    }
    public void setSchoolYouxiang(String schoolYouxiang) 
    {
        this.schoolYouxiang = schoolYouxiang;
    }

    public String getSchoolYouxiang() 
    {
        return schoolYouxiang;
    }
    public void setSchoolDiqu(String schoolDiqu) 
    {
        this.schoolDiqu = schoolDiqu;
    }

    public String getSchoolDiqu() 
    {
        return schoolDiqu;
    }
    public void setSchoolDizhi(String schoolDizhi) 
    {
        this.schoolDizhi = schoolDizhi;
    }

    public String getSchoolDizhi() 
    {
        return schoolDizhi;
    }
    public void setSchoolJianjian(String schoolJianjian) 
    {
        this.schoolJianjian = schoolJianjian;
    }

    public String getSchoolJianjian() 
    {
        return schoolJianjian;
    }
    public void setSchoolRemark(String schoolRemark) 
    {
        this.schoolRemark = schoolRemark;
    }

    public String getSchoolRemark() 
    {
        return schoolRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schoolId", getSchoolId())
            .append("schoolName", getSchoolName())
            .append("schoolDaima", getSchoolDaima())
            .append("schoolType", getSchoolType())
            .append("schoolRiqi", getSchoolRiqi())
            .append("schoolIphooe", getSchoolIphooe())
            .append("schoolYouxiang", getSchoolYouxiang())
            .append("schoolDiqu", getSchoolDiqu())
            .append("schoolDizhi", getSchoolDizhi())
            .append("schoolJianjian", getSchoolJianjian())
            .append("schoolRemark", getSchoolRemark())
            .toString();
    }
}
